from rest_framework import serializers

from heads.models import News


class HeadListSerializer(serializers.ModelSerializer):
    class Meta:
        model = News
        fields = '__all__'
